﻿using AiQiuQuan.Sport.Core;

namespace AiQiuQuan.Sport.WebApi.Services
{
    /// <summary>
    /// 微信回调（除支付退款回调）
    /// </summary>
    public interface IWxCallbackService : ITransientDependency
    {
        /// <summary>
        /// 微信公众号授权回调
        /// </summary>
        /// <param name="code">code</param>
        /// <param name="state">附加参数</param>]
        Task<UnaryResult> AuthenticateAsync(string code, string state);
    }
}
